<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body rendered="${user.notLoggenIn}">
        <center>
            <h1>Welcome to MedKnow Intranet</h1>
            <form method="POST" action="j_security_check">
                <table align="center" bgcolor="#eff5fa" cellspacing="5" frame="box" styleClass="center">
                    <tr>
                        <td colspan="2" align="center"><h3>Authentication</h3></td>
                    </tr>
                    <tr>
                        <td>Name:</td>
                        <td><input type="text" name="j_username" /></td>
                    </tr>
                    <tr>
                        <td>Password:</td>
                        <td><input type="password" name="j_password"/></td>
                    </tr>
                    <tr>
                        <td colspan="2"><input type="submit" value="Login"/></td>
                    </tr>
                </table>
            </form>
        </center>
    </h:body>
</html>

